import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "../Public/SEntityId";
type int = number;
//class SMiniGroupInfo
    
    export  class SMiniGroupInfo
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.groupID.__write(arg1);
            arg1.writeByte(this.playerCount);
            arg1.writeByte(this.maxPlayerCount);
            arg1.writeByte(this.captainCamp);
            arg1.writeByte(this.captainSex);
            arg1.writeString(this.captionName);
            this.captionId.__write(arg1);
            arg1.writeByte(this.captionLevel);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.groupID = new SEntityId();
            this.groupID.__read(arg1);
            this.playerCount = arg1.readByte();
            this.maxPlayerCount = arg1.readByte();
            this.captainCamp = arg1.readByte();
            this.captainSex = arg1.readByte();
            this.captionName = arg1.readString();
            this.captionId = new SEntityId();
            this.captionId.__read(arg1);
            this.captionLevel = arg1.readByte();
            return;
        }

        public /* var */groupID: SEntityId;

        public /* var */playerCount: int;

        public /* var */maxPlayerCount: int;

        public /* var */captainCamp: int;

        public /* var */captainSex: int;

        public /* var */captionName: string;

        public /* var */captionId: SEntityId;

        public /* var */captionLevel: int;
    }
